package com.qintian.rainstorm.modules.dao;

import com.qintian.rainstorm.modules.entity.WaterRainBo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @description: 水利接口dao
 * @author: taoxi
 * @create: 2018-12-12 09:55
 **/
@Mapper
@Component
public interface WaterRainDao {
    /**
     * 水位/水库
     * @return
     */
    List<Map<String, Object>> selectWaterRain(WaterRainBo waterRainBo);

    List<Map<String, Object>> selectWaterRainByTime(WaterRainBo waterRainBo);

     String selectMaxTime();
    //雨量站点信息
    List<Map<String, Object>> selectWaterStationID(WaterRainBo waterRainBo);
    //水库/河道 时间列表
    List<String> selectWaterByTime(WaterRainBo waterRainBo);

    //水库/河道 站点 时间序列 水位图
    List<Map<String, Object>> selectWaterByTimeAndStation(WaterRainBo waterRainBo);

}
